//package com.imooc.luckymoney.controller;
//
//import com.imooc.luckymoney.limit.Limit;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//@RestController
//@RequestMapping("/hello")
//public class HelloController {
//    @Autowired
//    private Limit limit;
//
//    @GetMapping("/say")
//    public String say(){
//        return "说明：" + limit.getDes();
//    }
//    @GetMapping("/say2/{id}")
//    public String say2(@PathVariable("id") int id){
//        return "id：" + id;
//    }
//    @GetMapping("/say3")
//    public String say3(@RequestParam(value = "id",required = false,defaultValue = "0") int id){
//        return "id：" + id;
//    }
//}
